package com.bsth.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 
 * @ClassName: LineInformation(线路标准信息实体类)
 * 
 * @Description: TODO(线路标准信息)
 * 
 * @Author bsth@lq
 * 
 * @Date 2016-4-12 9:34:39
 *	
 * @Version ﻿公交调度系统BS版 0.1
 * 
 */
@Entity
@Table(name = "bsth_c_line_information")
public class LineInformation {

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	// 线路标准信息类型
	private String type;

	// 标准总里程
	private Double totalMileage;

	// 空放里程
	private Double emptyMileage;

	// 上行里程
	private Double upMileage;

	// 下行里程
	private Double downMileage;

	// 上行行驶时间
	private Double upTravelTime;

	// 下行行驶时间
	private Double downTravelTime;

	// 早高峰开始时间 00:00
	private String earlyStartTime;

	// 早高峰结束时间 00:00
	private String earlyEndTime;

	// 晚高峰开始时间 00:00
	private String lateStartTime;

	// 晚高峰结束时间 00:00
	private String lateEndTime;
	
	// 小夜高峰开始时间 00:00
	private String xygfkssj;

	// 小夜高峰结束时间 00:00
	private String xygfjssj;
	
	// 早高峰上行行驶时间
	private Double earlyUpTime;
	
	// 早高峰下行行驶时间
	private Double earlyDownTime;
	
	// 晚高峰上行行驶时间
	private Double lateUpTime;
	
	// 晚高峰下行行驶时间
	private Double lateDownTime;
	
	// 小夜高峰上行行驶时间
	private Double nightStartTime;
	
	// 小夜高峰下行行驶时间
	private Double nightEndTime;
	
	// 低谷上行行驶时间
	private Double troughUpTime;
	
	// 低谷下行行驶时间
	private Double troughDownTime;
	
	// 停车场
	private String carPark;
	
	// 上行进场时间
	private Double upInTimer; 
	
	// 上行出场时间
	private Double upOutTimer;
	
	// 下行进场时间
	private Double downInTimer;
	
	// 下行出场时间
	private Double downOutTimer;
	
	// 上行进场里程
	private Double upInMileage;
	
	// 上行出场里程
	private Double upOutMileage;
	
	// 下行进场里程
	private Double downInMileage;
	
	// 下行出场里程
	private Double downOutMileage;

	// 早高峰大间隔（分钟）老调度系统字段,暂时保留
	private Double earlyIntervalLg;

	// 晚高峰大间隔（分钟）老调度系统字段,暂时保留
	private Double lateIntervalLg;

	// 平时大间隔（分钟）老调度系统字段,暂时保留
	private Double intervalLg;

	// 限速（平时）老调度系统字段,暂时保留
	private Double speedLimit;
	
	// 限速（雨天）老调度系统字段,暂时保留
	private Double rainLimit;
	
	// 限速（大雾）老调度系统字段,暂时保留
	private Double fogLimit;
	
	// 限速（冰雪）老调度系统字段,暂时保留
	private Double snowLimit;
	
	// 限速（节庆）老调度系统字段,暂时保留
	private Double festivalSpeedLimit;
	
	// 滞站
	private Integer lagStation;
	
	// 越站
	private Integer skip;
	
	// 超速
	private Integer speeding;
	
	// 串线
	private Integer  crossedLine;
	
	// 越界
	private Integer overflights;
	
	// 描述
	private String descriptions;
	
	// 创建人
	private Integer createBy;
			
	// 修改人
	private Integer updateBy;
	
	// 创建日期
	@Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
	private Date createDate;
	
	// 修改日期
	@Column(name = "update_date", columnDefinition = "timestamp  DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
	private Date updateDate;

	@ManyToOne
	private Line line;
	
	public String getXygfkssj() {
		return xygfkssj;
	}

	public void setXygfkssj(String xygfkssj) {
		this.xygfkssj = xygfkssj;
	}

	public String getXygfjssj() {
		return xygfjssj;
	}

	public void setXygfjssj(String xygfjssj) {
		this.xygfjssj = xygfjssj;
	}

	public Double getUpInTimer() {
		return upInTimer;
	}

	public void setUpInTimer(Double upInTimer) {
		this.upInTimer = upInTimer;
	}

	public Double getUpOutTimer() {
		return upOutTimer;
	}

	public void setUpOutTimer(Double upOutTimer) {
		this.upOutTimer = upOutTimer;
	}

	public Double getDownInTimer() {
		return downInTimer;
	}

	public void setDownInTimer(Double downInTimer) {
		this.downInTimer = downInTimer;
	}

	public Double getDownOutTimer() {
		return downOutTimer;
	}

	public void setDownOutTimer(Double downOutTimer) {
		this.downOutTimer = downOutTimer;
	}

	public Double getUpInMileage() {
		return upInMileage;
	}

	public void setUpInMileage(Double upInMileage) {
		this.upInMileage = upInMileage;
	}

	public Double getUpOutMileage() {
		return upOutMileage;
	}

	public void setUpOutMileage(Double upOutMileage) {
		this.upOutMileage = upOutMileage;
	}

	public Double getDownInMileage() {
		return downInMileage;
	}

	public void setDownInMileage(Double downInMileage) {
		this.downInMileage = downInMileage;
	}

	public Double getDownOutMileage() {
		return downOutMileage;
	}

	public void setDownOutMileage(Double downOutMileage) {
		this.downOutMileage = downOutMileage;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Double getTotalMileage() {
		return totalMileage;
	}

	public void setTotalMileage(Double totalMileage) {
		this.totalMileage = totalMileage;
	}

	public Double getEmptyMileage() {
		return emptyMileage;
	}

	public void setEmptyMileage(Double emptyMileage) {
		this.emptyMileage = emptyMileage;
	}

	public Double getUpMileage() {
		return upMileage;
	}

	public void setUpMileage(Double upMileage) {
		this.upMileage = upMileage;
	}

	public Double getDownMileage() {
		return downMileage;
	}

	public void setDownMileage(Double downMileage) {
		this.downMileage = downMileage;
	}

	public Double getUpTravelTime() {
		return upTravelTime;
	}

	public void setUpTravelTime(Double upTravelTime) {
		this.upTravelTime = upTravelTime;
	}

	public Double getDownTravelTime() {
		return downTravelTime;
	}

	public void setDownTravelTime(Double downTravelTime) {
		this.downTravelTime = downTravelTime;
	}

	public String getEarlyStartTime() {
		return earlyStartTime;
	}

	public void setEarlyStartTime(String earlyStartTime) {
		this.earlyStartTime = earlyStartTime;
	}

	public String getEarlyEndTime() {
		return earlyEndTime;
	}

	public void setEarlyEndTime(String earlyEndTime) {
		this.earlyEndTime = earlyEndTime;
	}

	public String getLateStartTime() {
		return lateStartTime;
	}

	public void setLateStartTime(String lateStartTime) {
		this.lateStartTime = lateStartTime;
	}

	public String getLateEndTime() {
		return lateEndTime;
	}

	public void setLateEndTime(String lateEndTime) {
		this.lateEndTime = lateEndTime;
	}

	public Double getEarlyUpTime() {
		return earlyUpTime;
	}

	public void setEarlyUpTime(Double earlyUpTime) {
		this.earlyUpTime = earlyUpTime;
	}

	public Double getEarlyDownTime() {
		return earlyDownTime;
	}

	public void setEarlyDownTime(Double earlyDownTime) {
		this.earlyDownTime = earlyDownTime;
	}

	public Double getLateUpTime() {
		return lateUpTime;
	}

	public void setLateUpTime(Double lateUpTime) {
		this.lateUpTime = lateUpTime;
	}

	public Double getLateDownTime() {
		return lateDownTime;
	}

	public void setLateDownTime(Double lateDownTime) {
		this.lateDownTime = lateDownTime;
	}

	public Double getNightStartTime() {
		return nightStartTime;
	}

	public void setNightStartTime(Double nightStartTime) {
		this.nightStartTime = nightStartTime;
	}

	public Double getNightEndTime() {
		return nightEndTime;
	}

	public void setNightEndTime(Double nightEndTime) {
		this.nightEndTime = nightEndTime;
	}

	public Double getTroughUpTime() {
		return troughUpTime;
	}

	public void setTroughUpTime(Double troughUpTime) {
		this.troughUpTime = troughUpTime;
	}

	public Double getTroughDownTime() {
		return troughDownTime;
	}

	public void setTroughDownTime(Double troughDownTime) {
		this.troughDownTime = troughDownTime;
	}
	public String getCarPark() {
		return carPark;
	}

	public void setCarPark(String carPark) {
		this.carPark = carPark;
	}
	public Double getEarlyIntervalLg() {
		return earlyIntervalLg;
	}

	public void setEarlyIntervalLg(Double earlyIntervalLg) {
		this.earlyIntervalLg = earlyIntervalLg;
	}

	public Double getLateIntervalLg() {
		return lateIntervalLg;
	}

	public void setLateIntervalLg(Double lateIntervalLg) {
		this.lateIntervalLg = lateIntervalLg;
	}

	public Double getIntervalLg() {
		return intervalLg;
	}

	public void setIntervalLg(Double intervalLg) {
		this.intervalLg = intervalLg;
	}

	public Double getSpeedLimit() {
		return speedLimit;
	}

	public void setSpeedLimit(Double speedLimit) {
		this.speedLimit = speedLimit;
	}

	public Double getRainLimit() {
		return rainLimit;
	}

	public void setRainLimit(Double rainLimit) {
		this.rainLimit = rainLimit;
	}

	public Double getFogLimit() {
		return fogLimit;
	}

	public void setFogLimit(Double fogLimit) {
		this.fogLimit = fogLimit;
	}

	public Double getSnowLimit() {
		return snowLimit;
	}

	public void setSnowLimit(Double snowLimit) {
		this.snowLimit = snowLimit;
	}

	public Double getFestivalSpeedLimit() {
		return festivalSpeedLimit;
	}

	public void setFestivalSpeedLimit(Double festivalSpeedLimit) {
		this.festivalSpeedLimit = festivalSpeedLimit;
	}

	public Integer getLagStation() {
		return lagStation;
	}

	public void setLagStation(Integer lagStation) {
		this.lagStation = lagStation;
	}

	public Integer getSkip() {
		return skip;
	}

	public void setSkip(Integer skip) {
		this.skip = skip;
	}

	public Integer getSpeeding() {
		return speeding;
	}

	public void setSpeeding(Integer speeding) {
		this.speeding = speeding;
	}

	public Integer getCrossedLine() {
		return crossedLine;
	}

	public void setCrossedLine(Integer crossedLine) {
		this.crossedLine = crossedLine;
	}

	public Integer getOverflights() {
		return overflights;
	}

	public void setOverflights(Integer overflights) {
		this.overflights = overflights;
	}

	public String getDescriptions() {
		return descriptions;
	}

	public void setDescriptions(String descriptions) {
		this.descriptions = descriptions;
	}

	public Integer getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public Integer getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(Integer updateBy) {
		this.updateBy = updateBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Line getLine() {
		return line;
	}

	public void setLine(Line line) {
		this.line = line;
	}
}
